/* 移动端优化样式 */
@media (max-width: 768px) {
    .mdui-appbar {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .mdui-drawer {
        width: 100%;
        max-width: 300px;
    }
    
    .mdui-container {
        padding: 0 8px;
    }
    
    .mdui-card {
        margin: 8px 0;
        border-radius: 8px;
    }
    
    .mdui-list-item {
        padding: 12px 16px;
    }
    
    .mdui-typo {
        padding: 0 12px;
    }
    
    .mdui-typo pre {
        overflow-x: auto;
        padding: 12px;
        font-size: 14px;
    }
    
    .copy-container {
        position: relative;
        margin-top: 8px;
    }
    
    .copy-btn {
        position: absolute;
        top: 8px;
        right: 8px;
        z-index: 10;
    }
    
    #welcome-message {
        padding: 20px 16px;
    }
    
    #welcome-message h3 {
        font-size: 1.2em;
        margin-bottom: 12px;
    }
    
    #welcome-message p {
        font-size: 0.9em;
    }
}

/* 相对布局优化 */
.mdui-row-relative {
    position: relative;
    width: 100%;
}

.mdui-col-relative {
    position: relative;
    float: left;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .mdui-col-relative {
        width: 100%;
        float: none;
    }
}